<template>
    <div>
           <h1>Layout 布局</h1>
           <el-row>
                <el-col :span="24"><div class="grid-content bg-purple-dark"></div></el-col>
            </el-row>

                <el-row>
                <el-col :span="10" :offset="2">
                    <div class="grid-content bg-purple-dark"></div>
                </el-col>
                <el-col :span="12" :offset="0">
                    <div class="grid-content bg-purple"></div>
                </el-col>
            </el-row>

            <el-row :gutter="20">
                <el-col :span="12" :offset="0">
                    <div class="grid-content bg-purple-dark"></div>
                </el-col>
                <el-col :span="12" :offset="0">
                    <div class="grid-content bg-purple"></div>
                </el-col>
            </el-row>
            
    </div>
</template>

<script>
export default {
    name: "",
    data() {
        return {}
    },
    components: {},
    methods: {}
}
</script>

<style  scoped>

 .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  } 
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .el-row{
      margin-bottom: 10px;
  }
</style>
